package com.sailmi.gateway.feign;

import com.sailmi.common.model.auth.AuthInfo;
import com.sailmi.common.model.auth.AuthUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import com.sailmi.common.tool.api.R;

@FeignClient(
	value = "sailmi-auth"
)
public interface ITokenFeign {
	@PostMapping("/renewToken")
	R<AuthInfo> renewToken(@RequestBody AuthInfo authInfo,@RequestHeader("Authorization") String authToken) throws Exception;
}


